package com.boat.starter.jetcache.props;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.boat.starter.jetcache.constant.CacheConstant;
import com.boat.starter.jetcache.constant.CacheConstant.BoatCacheType;

import lombok.Data;

/**
 * 缓存配置
 * @author 周江
 *
 */
@Data
@ConfigurationProperties(prefix = CacheConstant.PREFIX)
public class CacheProperties {

    private String type = BoatCacheType.JETCACHE;

    private JetcacheProperties jetcache;

}